﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class BitBenderGamesCameraMoveComponentWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(BitBenderGames.CameraMoveComponent);
			Utils.BeginObjectRegister(type, L, translator, 0, 20, 0, 0);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "LockCamera", _m_LockCamera);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnLockCamera", _m_UnLockCamera);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCameraDoubleDrag", _m_SetCameraDoubleDrag);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCameraZoomByScale", _m_SetCameraZoomByScale);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ZoomFOVImmediately", _m_ZoomFOVImmediately);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetFOVImmediately", _m_SetFOVImmediately);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ZoomLOD", _m_ZoomLOD);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ZoomTo", _m_ZoomTo);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TweenFocusAt", _m_TweenFocusAt);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TweenFocusAtBySpeed", _m_TweenFocusAtBySpeed);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetFocusPos", _m_GetFocusPos);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCameraZoom", _m_GetCameraZoom);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TweenFocusAtByTime", _m_TweenFocusAtByTime);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearTimeCallback", _m_ClearTimeCallback);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TweenTargetPosAtByTime", _m_TweenTargetPosAtByTime);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SyncTimelineCamera", _m_SyncTimelineCamera);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ChangPosToViewCenter", _m_ChangPosToViewCenter);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ChangePos", _m_ChangePos);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "onBeginMove", _e_onBeginMove);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "onEndMove", _e_onEndMove);
			
			
			
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new BitBenderGames.CameraMoveComponent();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new BitBenderGames.CameraMoveComponent();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_LockCamera(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.LockCamera(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnLockCamera(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.UnLockCamera(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCameraDoubleDrag(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    bool _status = LuaAPI.lua_toboolean(L, 2);
                    
                    gen_to_be_invoked.SetCameraDoubleDrag( _status );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCameraZoomByScale(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _scale = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    gen_to_be_invoked.SetCameraZoomByScale( _scale );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ZoomFOVImmediately(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _percent = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    gen_to_be_invoked.ZoomFOVImmediately( _percent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetFOVImmediately(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _percent = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    gen_to_be_invoked.SetFOVImmediately( _percent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ZoomLOD(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<DG.Tweening.Ease>(L, 5)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 6)) 
                {
                    int _lodLayer = LuaAPI.xlua_tointeger(L, 2);
                    float _percent = (float)LuaAPI.lua_tonumber(L, 3);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    DG.Tweening.Ease _ease;translator.Get(L, 5, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 6);
                    
                    gen_to_be_invoked.ZoomLOD( _lodLayer, _percent, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& translator.Assignable<DG.Tweening.Ease>(L, 5)) 
                {
                    int _lodLayer = LuaAPI.xlua_tointeger(L, 2);
                    float _percent = (float)LuaAPI.lua_tonumber(L, 3);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    DG.Tweening.Ease _ease;translator.Get(L, 5, out _ease);
                    
                    gen_to_be_invoked.ZoomLOD( _lodLayer, _percent, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    int _lodLayer = LuaAPI.xlua_tointeger(L, 2);
                    float _percent = (float)LuaAPI.lua_tonumber(L, 3);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 4);
                    
                    gen_to_be_invoked.ZoomLOD( _lodLayer, _percent, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.ZoomLOD!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ZoomTo(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 5)) 
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 5);
                    
                    gen_to_be_invoked.ZoomTo( _zoom, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    gen_to_be_invoked.ZoomTo( _zoom, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.ZoomTo( _zoom, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.ZoomTo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TweenFocusAt(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 6)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 6);
                    
                    gen_to_be_invoked.TweenFocusAt( _posPlaner, _duration, _ease, _zoom, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    gen_to_be_invoked.TweenFocusAt( _posPlaner, _duration, _ease, _zoom );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    gen_to_be_invoked.TweenFocusAt( _posPlaner, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.TweenFocusAt( _posPlaner, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.TweenFocusAt!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TweenFocusAtBySpeed(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _speed = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 6);
                    float _targetH = (float)LuaAPI.lua_tonumber(L, 7);
                    
                    gen_to_be_invoked.TweenFocusAtBySpeed( _posPlaner, _speed, _ease, _zoom, _callback, _targetH );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 6)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _speed = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 6);
                    
                    gen_to_be_invoked.TweenFocusAtBySpeed( _posPlaner, _speed, _ease, _zoom, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _speed = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    gen_to_be_invoked.TweenFocusAtBySpeed( _posPlaner, _speed, _ease, _zoom );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _speed = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    gen_to_be_invoked.TweenFocusAtBySpeed( _posPlaner, _speed, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _speed = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.TweenFocusAtBySpeed( _posPlaner, _speed );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Vector2>(L, 2)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    
                    gen_to_be_invoked.TweenFocusAtBySpeed( _posPlaner );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.TweenFocusAtBySpeed!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetFocusPos(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetFocusPos(  );
                        translator.PushUnityEngineVector3(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCameraZoom(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetCameraZoom(  );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TweenFocusAtByTime(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 7&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 6)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 6);
                    float _targetH = (float)LuaAPI.lua_tonumber(L, 7);
                    
                    gen_to_be_invoked.TweenFocusAtByTime( _posPlaner, _duration, _ease, _zoom, _callback, _targetH );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 6)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 6);
                    
                    gen_to_be_invoked.TweenFocusAtByTime( _posPlaner, _duration, _ease, _zoom, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    gen_to_be_invoked.TweenFocusAtByTime( _posPlaner, _duration, _ease, _zoom );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    gen_to_be_invoked.TweenFocusAtByTime( _posPlaner, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector2>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.TweenFocusAtByTime( _posPlaner, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.TweenFocusAtByTime!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClearTimeCallback(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ClearTimeCallback(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_TweenTargetPosAtByTime(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Vector3 _targetPos;translator.Get(L, 2, out _targetPos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 5);
                    bool _executeLastTimeCallBack = LuaAPI.lua_toboolean(L, 6);
                    
                    gen_to_be_invoked.TweenTargetPosAtByTime( _targetPos, _duration, _ease, _callback, _executeLastTimeCallBack );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 5)) 
                {
                    UnityEngine.Vector3 _targetPos;translator.Get(L, 2, out _targetPos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 5);
                    
                    gen_to_be_invoked.TweenTargetPosAtByTime( _targetPos, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    UnityEngine.Vector3 _targetPos;translator.Get(L, 2, out _targetPos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    gen_to_be_invoked.TweenTargetPosAtByTime( _targetPos, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector3>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    UnityEngine.Vector3 _targetPos;translator.Get(L, 2, out _targetPos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.TweenTargetPosAtByTime( _targetPos, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.TweenTargetPosAtByTime!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SyncTimelineCamera(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.SyncTimelineCamera(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangPosToViewCenter(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector2 _posPlaner;translator.Get(L, 2, out _posPlaner);
                    
                    gen_to_be_invoked.ChangPosToViewCenter( _posPlaner );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangePos(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 2, out _pos);
                    
                    gen_to_be_invoked.ChangePos( _pos );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        
        
		
		
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_onBeginMove(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
			BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action!");
                }
				
				if (gen_param_count == 3)
				{
					
					if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
						gen_to_be_invoked.onBeginMove += gen_delegate;
						return 0;
					} 
					
					
					if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
						gen_to_be_invoked.onBeginMove -= gen_delegate;
						return 0;
					} 
					
				}
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.onBeginMove!");
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_onEndMove(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
			BitBenderGames.CameraMoveComponent gen_to_be_invoked = (BitBenderGames.CameraMoveComponent)translator.FastGetCSObj(L, 1);
                System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#3 need System.Action!");
                }
				
				if (gen_param_count == 3)
				{
					
					if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
						gen_to_be_invoked.onEndMove += gen_delegate;
						return 0;
					} 
					
					
					if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
						gen_to_be_invoked.onEndMove -= gen_delegate;
						return 0;
					} 
					
				}
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			LuaAPI.luaL_error(L, "invalid arguments to BitBenderGames.CameraMoveComponent.onEndMove!");
            return 0;
        }
        
		
		
    }
}
